package user.main;

import java.io.BufferedReader;
import java.io.InputStreamReader;

import outputviewer.ObserveOutput;
import user.data.Data;

/**
 * Displays the created observations.
 * 
 * @author Trevor Terris
 *
 */
public class RunViewRawObservations 
{
	public static void main (String[] args)
	{
		try
		{
	    	System.out.println("What directory should be used for the new file?");
	    	BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
	    	String dirName = br.readLine();
	    	ObserveOutput outputDisplay = new ObserveOutput();
			outputDisplay.CreateApplet(dirName + "/" + Data.RAW_DATA_NAME);
			outputDisplay.start();
		}
		catch (Exception e)
		{
			System.out.println("IO exception");
			e.printStackTrace();
		}
	}
}
